import request from '@/utils/request'

// 查询合格证信息列表
export function listInfo(query) {
  return request({
    url: '/qualifiedCert/info/list',
    method: 'get',
    params: query
  })
}

// 删除合格证信息
export function delInfo(certId) {
  return request({
    url: '/qualifiedCert/info/' + certId,
    method: 'delete'
  })
}

// 查询合格证信息详细
export function getInfo(certId) {
  return request({
    url: '/qualifiedCert/info/' + certId,
    method: 'get'
  })
}
